package com.goldplusgold.tradedelay.app.trade.dialog;

import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.goldplusgold.support.lib.base.fragment.FragmentBasicDialog;
import com.goldplusgold.tradedelay.app.R;

/**
 * Created by admin on 2017/5/27.
 */

public class DefinitionsDialog extends FragmentBasicDialog {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setStyle(DialogFragment.STYLE_NO_TITLE, 0);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        View view = inflater.inflate(R.layout.fragment_definitions, container, false);
        view.findViewById(R.id.confim_txt).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                getDialog().dismiss();
            }
        });
        return view;
    }

}
